package com.example.shortestpathalgorithm44;

import lombok.Getter;
import lombok.Setter;

/**
 * 节点
 * @auther lijiewei
 * @date 2022/7/13 10:47
 */
@Setter
@Getter
public class Node {

    //顶点编号
    private int id;

    //从起始顶点到这个顶点的距离
    private int dist;

    public Node() {
    }

    public Node(int id, int dist) {
        this.id = id;
        this.dist = dist;
    }




}
